2023-10-15


Test snapshots should be in alphabetical order
I submitted a PR and was surprised (not really) when CI failed, it turns out snapshots should be in alphabetical order.
…makes sense!
I also learned that you shouldn’t really type the snapshots by hand, it’s easier to add a test, run it, see what comes in (vs what the snapshot was before), if it was the correct thing just copy paste the snapshot. And place it in alphabetical order. 😊
Go back to all posts